package com.genius.reservation.common.constant;


public interface CacheKeyPrefixConst
{
	/** 缓存key字符之间的分隔符 */
	String SPLIT_LINE = "_";
	/**
	 * 登录验证码缓存key
	 */
	String LOGIN_VALIDATE_CODE = "LOGIN_VALIDATE_CODE_";
	/**
	 * 注册验证码缓存key
	 */
	String REGIST_VALIDATE_CODE = "REGIST_VALIDATE_CODE_";
	String TREE_TOKEN = "TREE_TOKEN_";

	/**
	 * 忘记密码key
	 */
	String FORGET_PWD_VALIDATE_CODE = "FORGET_PWD_VALIDATE_CODE_";
	/**
	 * 绑定手机验证码缓存key
	 */
	String BIND_VALIDATE_CODE = "BIND_VALIDATE_CODE_";

	/**
	 * 解绑手机验证码缓存key
	 */
	String UN_BIND_VALIDATE_CODE = "UN_BIND_VALIDATE_CODE_";

	/**
	 * 改绑手机验证码缓存key
	 */
	String REBIND_VALIDATE_CODE = "REBIND_PHONE_VALIDATE_CODE_";

	String APP_NAME = "APP_NAME";
	/**
	 * 订单锁key
	 */
	String ORDER_LOCK_KEY = "ORDER:%s:LOCK";
	/**
	 * 缓存邀请级数
	 */
	String INVITATION_CODE_RELATION = "INVITATION_CODE_RELATION_";


	/**
	 * 普通商品信息
	 */
	String COMMODITY_HASH_KEY = "COMMODITY";
	/**
	 * 普通商品信息更新锁key
	 */
	String COMMODITY_LOCK_KEY = "COMMODITY:%s:LOCK";
}
